home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / et / et3_0-a1.lha / et3 / src / PROGENV / ClassList.h < prev    next >
C/C++ Source or Header  |  1992-06-09  |  767b  |  33 lines

  1. #ifndef ClassListView_First
  2. #ifdef __GNUG__
  3. //pragma once
  4. #pragma interface
  5. #endif
  6. #define ClassListView_First
  7.  
  8. #include "CollView.h"
  9. #include "ObjArray.h"
  10.  
  11. class OrdCollection;
  12.  
  13. //---- PeClassListView ---------------------------------------------------------
  14.  
  15. class PeClassListView: public CollectionView {
  16.     OrdCollection *classItems;
  17.     bool hideEmptyClasses;
  18.     bool showInstCount;
  19. public:
  20.     MetaDef(PeClassListView);
  21.     PeClassListView(EvtHandler *, bool icount= FALSE);
  22.     void LoadClasses();
  23.     void ToggleHideEmpty();
  24.     bool HideEmptyClasses()
  25.     { return hideEmptyClasses; }
  26.     bool SelectClass(Class *cl);
  27.     Class *SelectedClass();
  28.     void DoSelect(Rectangle r, int clicks);
  29.     void DoObserve(int, int what, void* val, Object* op);
  30. };
  31.  
  32. #endif
  33.